/**
 * Created by HanChaowei on 2016/11/16.
 */
var gulp = require("gulp");
var jade = require("gulp-jade");

gulp.task("defalute",function () {
    gulp.src("view/*jade")
        .pipe(jade({
            pretty:true
        }))
        .pipe(gulp.dest("./html/"))
})

gulp.task("watch",function () {
    gulp.watch("view/*jade",['defalute'])
})